package com.bot.adms.model.entity;

import com.bot.adms.model.bo.AdSpScDetailPosterBo;

/**
 * 广告海报信息实体类
 */
public class AdSpScDetailPoster {
    public AdSpScDetailPoster(AdSpScDetailPosterBo adSpScDetailPosterBo) {
        this.id = adSpScDetailPosterBo.getId();
        this.posterUrl = adSpScDetailPosterBo.getPosterUrl();
        this.resolution = adSpScDetailPosterBo.getResolution();
        this.adSpScDetailId = adSpScDetailPosterBo.getAdSpScDetailBo().getId();
    }

    public AdSpScDetailPoster() {
    }

    /**
     * 广告海报信息id
     */
    private Long id;
    /**
     * 海报文件路径
     */
    private String posterUrl;
    /**
     * 分辨率
     */
    private Long resolution;
    /**
     * 广告分屏明细id
     */
    private Long adSpScDetailId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPosterUrl() {
        return posterUrl;
    }

    public void setPosterUrl(String posterUrl) {
        this.posterUrl = posterUrl;
    }

    public Long getResolution() {
        return resolution;
    }

    public void setResolution(Long resolution) {
        this.resolution = resolution;
    }

    public Long getAdSpScDetailId() {
        return adSpScDetailId;
    }

    public void setAdSpScDetailId(Long adSpScDetailId) {
        this.adSpScDetailId = adSpScDetailId;
    }
}
